﻿using System.Collections.Generic;

namespace Prodma.DataAccess.Interfaces.Operations
{
    public interface IRecordOperation<Entity, ViewModel>
    {
        IList<ViewModel> GetList();
        void New(Entity entity);
        ViewModel Edit(int id);
        void Update(int id, Entity entity);
        void Delete(int id);
    }
}
